<!doctype html>
<html lang="zh-cmn-Hans">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
    <meta name="generator" content="Hugo 0.80.0">
    <title>Stem Games</title>

    <link rel="canonical" href="https://getbootstrap.com/docs/4.6/examples/album/">



    <!-- 新 Bootstrap4 核心 CSS 文件 -->
    <link rel="stylesheet" href="bootstrap-4.6.0-dist/css/bootstrap.min.css">



    <style>
        .bd-placeholder-img {
            font-size: 1.125rem;
            text-anchor: middle;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        @media (min-width: 768px) {
            .bd-placeholder-img-lg {
                font-size: 3.5rem;
            }
        }
    </style>


    <!-- Custom styles for this template -->
    <link href="css/album.css" rel="stylesheet">
</head>

<body>



    <nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark">
        <a class="navbar-brand mr-auto mr-lg-0" href="#">Stem Gamse</a>
        <button class="navbar-toggler p-0 border-0" type="button" data-toggle="offcanvas">
            <span class="navbar-toggler-icon"></span>
        </button>

        <div class="navbar-collapse offcanvas-collapse" id="navbarsExampleDefault">
            <ul class="navbar-nav mr-auto">
                <li class="nav-item active">
                    <a class="nav-link" href="#">主页 <span class="sr-only">(当前)</span></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">商城</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="mygames.html">订单 & 收藏</a>
                </li>

                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" href="#" id="dropdown01" data-toggle="dropdown"
                        aria-haspopup="true" aria-expanded="false">未登录</a>
                    <div class="dropdown-menu" aria-labelledby="dropdown01">
                        <a class="dropdown-item" href="#" onclick="logout()">退出登录</a>
                    </div>
                </li>

            </ul>
            <form class="form-inline my-2 my-lg-0">
                <input class="form-control mr-sm-2" type="text" placeholder="王者荣耀" aria-label="Search" id="gSearch">
                <button class="btn btn-outline-success my-2 my-sm-0" onclick="searchGame()">搜索</button>
            </form>
        </div>
    </nav>

    <main role="main">

        <section class="jumbotron text-center">
            <div class="container">
                <h1>Stem Games</h1>
                <p class="lead text-muted">借助Stem，用户能安装并自动更新游戏，
                    也可以使用包括好友列表和组在内的社区功能，
                    还能使用云存储、游戏内语音和聊天功能。</p>
                <p id="intro">
                    <a href="login.html" class="btn btn-primary my-2"> 登 入 </a>
                    <a href="register.html" class="btn btn-secondary my-2"> 注 册 </a>
                </p>
            </div>
        </section>

        <div class="album py-5 bg-light">
            <div class="container" id="page">

                <div class="row" id="item">


                </div>
            </div>
        </div>

    </main>

    <footer class="text-muted">
        <div class="container">
            <p class="float-right">
                <a href="#">返回顶部</a>
            </p>
            <p>Stem Games 是 &copy; 工程实践小组的</p>
            <p>新人？<a href="/">获得帮助</a> 或者阅读 <a href="">新手指引</a>.</p>
        </div>
    </footer>


    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="js/jquery-3.6.0.js"></script>
    <!-- bootstrap.bundle.min.js 用于弹窗、提示、下拉菜单，包含了 popper.min.js -->
    <script src="bootstrap-4.6.0-dist/js/bootstrap.bundle.min.js"></script>
    <script src="js/jquery.cookie-1.4.1.min.js"></script>
    <script src="js/index.js"></script>
    <script src="js/public.js"></script>
    <script>
        dispUname()
        getAllGames()
    </script>


</body>

</html>